home *** CD-ROM | disk | FTP | other *** search
- ` -------------------------------------------------------------------------
- ` 3D Logo Spinner DarkForge Snippet 27/9/2000
- ` -------------------------------------------------------------------------
- ` Shows how a simple bit of camera/object movement could make for a rather
- ` nice little intro sequence.
-
- sync rate 0
- sync on
- hide mouse
-
- load object "darkforge_logo.x",1
-
- color object 1,rgb(200,150,100)
- color backdrop rgb(0,0,0)
-
- x#=0
-
- rotate object 1,270,270,0
- fix object pivot 1
-
- set ambient light 60
- set object 1,1,0,0
-
- #distance=150
-
- position camera -5,23,#distance
-
- wait 250
-
- repeat
-
- dec #distance,4
- position camera -5,23,#distance
- sync
-
- until #distance=<-160
-
- repeat
-
- position camera -5,23,#distance
-
- yrotate object 1,x#
-
- if #distance=>-700
- dec #distance,4
- endif
-
- inc x#
-
- sync
-
- until #distance=<-700
-
- do
-
- yrotate object 1,x#
-
- if x#<=200 then inc x#
-
- move object 1,8
-
- position camera -5,23,#distance
-
- inc #distance,2
-
- sync
-
- loop
-
-
-